package com.snailhd.cloud.account.entity;

import lombok.Data;

import java.io.Serializable;

/**
 * @ClassName LoginDTO
 * @Description
 * @Author hd
 * @Date 2019-06-08 23:33
 */

@Data
public class LoginDTO implements Serializable {

    private String account;

    private String loginType;

    private String loginDeviceType;

    private String pwd;

    private String authCode;


    public interface LoginType{
        /**
         * 验证码登录方式
         */
        public String AUTH_CODE = "AUTH_CODE";

        /**
         * 密码登录方式
         */
        public String PWD = "PWD";
    }


    /**
     * 设备登录类型
     * @author snailhd
     *
     */
    public interface LoginDeviceType{
        /**
         * 安卓
         */
        public String ANDROID = "android";
        /**
         * ios 设备登录
         */
        public String IOS = "ios";

        /**
         * web登录
         */
        public String web = "web";

    }
}
